package com.manage.func.ordermanagement.loanorder.service;

import java.util.List;

import com.manage.base.service.IBaseService;
import com.manage.func.ordermanagement.loanorder.model.LoanOrderBean;
import com.manage.func.ordermanagement.loanorder.model.LoanOrderBooksBean;
import com.manage.func.ordermanagement.loanorder.model.LoanOrderExcelBean;
import com.manage.func.ordermanagement.loanorder.model.LoanOrderExportQueryBean;

public interface ILoanOrderService
		extends IBaseService<LoanOrderBean> {

	/**
	 * 查询借书单接口
	 * @param queryBean
	 * @return
	 */
	List<LoanOrderBean> selectLoanOrderList(LoanOrderBean bean);
	
	
	/**
	 * 更新借书单接口
	 * @param queryBean
	 * @return
	 */
	int updateLoanOrder(LoanOrderBean queryBean);
	
	/**
	 * 更新快递信息
	 * @param queryBean
	 * @return
	 */
	int updateExpressMessage(LoanOrderBean queryBean);

	
	/**
	 * 查询借书单总数接口
	 * @param queryBean
	 * @return
	 */
	int selectTotalCount(LoanOrderBean queryBean);
	
	/**
	 * 查询借书单对应图书接口
	 * @param queryBean
	 * @return
	 */
	List<LoanOrderBooksBean> selectLoanOrderBooks(LoanOrderBean queryBean);


	void loanOrderFailProcess(LoanOrderBean queryBean);


	List<LoanOrderExcelBean> selectLoanOrderExcel(LoanOrderExportQueryBean bean);
	
}
